package cn.rengy.web.framework.role.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.rengy.web.framework.sql.DbService;
/**
 * 需要授权访问的uri
 */
@Service
public class SysAuthUriService {
	@Autowired
	private DbService dbService;
	
	/**
	 * 查询所有需要授权访问的uri
	 * @return
	 */
	public List<SysAuthUriPO> getAll(){
		//TODO 放入缓存
		return this.dbService.queryForBeanList("select_all_sys_auth_uri", SysAuthUriPO.class);
		
	}
}
